package com.bz.entity;

import javax.validation.constraints.NotEmpty;

import org.hibernate.validator.constraints.Length;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;

import lombok.Data;

@Data
@TableName("b_contacts_customer")
public class ContactsCustomerEntity extends BaseDto {

    /**
     * 
     */
    private static final long serialVersionUID = 1L;

    /**
     * name
     */
    @NotEmpty(message = "not null")
    @Length(max = 50)
    private String            name;

    /**
     * 邮箱
     */
    @TableField("email")
    @NotEmpty(message = "not null")
    @Length(max = 50)
    private String            email;

    /**
     * lable
     */
    @TableField("lable")
    @NotEmpty(message = "not null")
    @Length(max = 50)
    private String            lable;

    /**
     * message
     */
    @TableField("message")
    @NotEmpty(message = "not null")
    private String            message;
}
